Auto merge of #2510 - alexcrichton:xcompile, r=brson
authorbors <bors@rust-lang.org>
Wed, 23 Mar 2016 16:36:36 +0000 (09:36 -0700)
committerbors <bors@rust-lang.org>
Wed, 23 Mar 2016 16:36:36 +0000 (09:36 -0700)
commite43adeb760f74541a131915e00147f0e6f4ba483
treee96e14eb5e0989bc178f97405597dca3e06e2d2d
parent61ad6a06df92efae10fe40f81728f465a688de24
parent83b4f39c44a03e414013836e8ccf59ca7407f097
Auto merge of #2510 - alexcrichton:xcompile, r=brson

Prepare for ARM/FreeBSD/NetBSD nightlies

This commit beefs up Cargo's makefiles to support nightly builds of Cargo for
multiple platforms. This primarily involves vendoring the logic of how to build
OpenSSL for statically linking against Cargo into the Makefiles directly. We'll
have to update the version of OpenSSL as releases are made, but we essentially
already do that with the normal docker container.

The Linux nightlies will still run in the normal dist docker container (a really
old CentOS build) and builds for new platforms will happen in the standard
linux-cross container we use for other cross builds. The nightly versions of
these will produce Cargo tarballs for a whole bunch of platforms to get
uploaded.

This has been tested in the `alexcrichton/rust-slave-linux-cross:2016-03-17b`
docker container for the 3 ARM targets and FreeBSD target. NetBSD will come once
rust-lang/rust#32407 lands.